package com.example.smartcitymovie.bean;

import com.example.smartcitymovie.MyApplication;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: Machu
 * @Time: 2022/2/15 10:45
 * @Description: 功能描述
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MovieListBean {

    /**
     * code : 200
     * msg : 查询成功
     * rows : [{"id":3,"name":"悬崖之上","category":"3","cover":"http://118.190.154.52:7777/profile/upload/image/2021/ 05/08/a7924153-1dc6-4c3c-9d89-67acbbfb1880.jpg","playType":"3","score":5,"duration":120,"playDate":"2021-04-30","likeNum":143137,"favoriteNum":198026,"language":"中文","introduction":"<p>上世纪三十年代，四位曾在苏联接受特训的共产党 特<\/p>","other":null,"recommend":"Y"}]
     * total : 1
     */

    private int code;
    private String msg;
    private int total;
    /**
     * id : 3
     * name : 悬崖之上
     * category : 3
     * cover : http://118.190.154.52:7777/profile/upload/image/2021/ 05/08/a7924153-1dc6-4c3c-9d89-67acbbfb1880.jpg
     * playType : 3
     * score : 5
     * duration : 120
     * playDate : 2021-04-30
     * likeNum : 143137
     * favoriteNum : 198026
     * language : 中文
     * introduction : <p>上世纪三十年代，四位曾在苏联接受特训的共产党 特</p>
     * other : null
     * recommend : Y
     */

    private List<RowsBean> rows;



    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class RowsBean {
        private int id;
        private String name;
        private String category;
        private String cover;
        private String playType;
        private int score;
        private int duration;
        private String playDate;
        private int likeNum;
        private int favoriteNum;
        private String language;
        private String introduction;
        private Object other;
        private String recommend;
    }
}
